package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TransformKind {

    private int beginIndex;
    private int endIndex;
    private boolean toSql;
    private boolean fromSql;

    public TransformKind(int beginIndex, int endIndex, boolean toSql, boolean fromSql) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.toSql = toSql;
        this.fromSql = fromSql;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isToSql() {
        return toSql;
    }

    public boolean isFromSql() {
        return fromSql;
    }

}
